home *** CD-ROM | disk | FTP | other *** search
/ Graphics Plus / Graphics Plus.iso / msdos / utils / fbm2fl03.lha / makefile < prev    next >
Encoding:
Makefile  |  1993-10-14  |  565 b   |  50 lines

  1. #
  2. # makefile for FBM2FLI
  3. #
  4.  
  5. # Insert here the location where the FBM package is installed
  6. FBM=/usr/local/fbm
  7. # Compiler
  8. CC=gcc
  9.  
  10. #
  11. # Cflags
  12. #
  13. CFLAGS=-O2 -Wall -D_COMPAT_ -I$(FBM)
  14. FBMLIB= -L$(FBM) -lfbm
  15.  
  16. .c.o:
  17.     $(CC) $(CFLAGS) -c $*.c
  18.  
  19. #
  20. # All targets
  21. #
  22. all: fbm2fli fboctree
  23.  
  24. #
  25. # Objects for fbm2fli
  26. #
  27. OBJ = \
  28.     fppmain.o \
  29.     fppmake.o \
  30.     fppframe.o \
  31.     fppbrun.o \
  32.     fppdelta.o \
  33.     fpplc.o \
  34.     fppcolor.o \
  35.     fppfile.o
  36.  
  37. #
  38. # Executables
  39. #
  40. fbm2fli: $(OBJ)
  41.     gcc -o $@ $(OBJ) $(FBMLIB)
  42.  
  43. fboctree: fboctree.o
  44.     gcc -o $@ fboctree.o $(FBMLIB)
  45.  
  46. #
  47. # Dependecies
  48. #
  49. $(OBJ) : fpfli.h
  50.